/*
 * bsp_status.h
 *
 * Copyright (C) 2011 - Dr.NP
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

/**
 * @version bsp_status.h 1.0.0
 * @package libbspstatus
 * @author Dr.NP <np@bsgroup.org>
 * @update 05/09/2011
 */

#ifndef BSP_STATUS_H

#define BSP_STATUS_H                            1

// Definations
#define MAX_STATUS_LENGTH                       1024

#define STATUS_KEY_VERSION                      0x0001
#define STATUS_KEY_STARTTIME                    0x0002

// Macros

// Structs
struct status_t
{
    int status_key;
    char status_value[MAX_STATUS_LENGTH];
};

// Functions
int status_init();
int status_update(int, char *);
char * status_get(int);

#endif  /* bsp_status.h */
